package ru.ipo.problemsapi;

import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: oleg
 * Date: 18.05.11
 * Time: 21:01
 */
public class EmptyProblem implements Problem {

    private static EmptyProblem ourInstance = new EmptyProblem();
    private final ArrayList<String> emptyList = new ArrayList<String>();

    public static EmptyProblem getInstance() {
        return ourInstance;
    }

    private EmptyProblem() {
    }

    public List<String> listNames() {
        return emptyList;
    }

    public boolean isTeacher(String name) {
        return false;
    }

    public String getString(String name) {
        return null;
    }

    public InputStream getReadStream(String name) {
        return null;
    }
}
